package com.simple.card.repository.tenantbank;

import com.simple.card.dataobject.tenantbank.TCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TCardRepository {

    @Select("select * from t_card where userId=#{userId}")
    public List<TCard> findByUserId(String userId);
}
